<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<div class="">
	共<i class="blue">${pagehelper.total}</i>条记录,当前显示第${pagehelper.pageNum}/${pagehelper.pages}页
</div>

<div style="text-align: center;">
	<ul class="pagination">
		<li><a
			href="javascript:queryAllPerson(${pagehelper.firstPage},${pagehelper.pageSize})">首页</a></li>
		<c:if test="${!pagehelper.isFirstPage}">
			<li><a
				href="javascript:queryAllPerson(${pagehelper.prePage},${pagehelper.pageSize})">上一页</a></li>
		</c:if>

		<c:forEach items="${pagehelper.navigatepageNums}"
			var="navagatepageNum">
			<c:if test="${navagatepageNum==pagehelper.pageNum}">
				<li class="active"><a
					href="javascript:queryAllPerson(${navagatepageNum},${pagehelper.pageSize})">${navagatepageNum}</a></li>
			</c:if>

			<c:if test="${navagatepageNum!=pagehelper.pageNum}">
				<li><a
					href="javascript:queryAllPerson(${navagatepageNum},${pagehelper.pageSize})">${navagatepageNum}</a></li>
			</c:if>
		</c:forEach>


		<c:if test="${!pagehelper.isLastPage}">
			<li><a
				href="javascript:queryAllPerson(${pagehelper.nextPage},${pagehelper.pageSize})">下一页</a></li>
		</c:if>



		<li><a
			href="javascript:queryAllPerson(${pagehelper.lastPage},${pagehelper.pageSize})">尾页</a></li>


	</ul>


</div>
